﻿@model WebApplication4.Models.Sysuser
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Login</title>
</head>
<body>
    <div>
        <fieldset>
            <legend>登录</legend>

            @using (Html.BeginForm())
            {
                <p>用户名：@Html.EditorFor(x => x.username)</p>
                <p>密码： @Html.EditorFor(x => x.pwd)</p>
                <input type="submit" value="登录" />
            }
        </fieldset>
      

    </div>
    <div>
        @Html.ValidationMessageFor(x => x.username)<br />
        @Html.ValidationMessageFor(x => x.pwd)<br />
        @Html.ValidationSummary(true)
    </div>
</body>
</html>
